//
//  SettingViewModel.swift
//  CarShare
//
//  Created by XQ on 2018/1/6.
//

import UIKit

class SettingViewModel: NSObject {
    
    func requestSignout(completion: @escaping (_ isSuccess: Bool, _ msg: String?) -> ()) {
       
        let params = ["is_driver" : 1] as [String : AnyObject]
        
        NetworkTool.request(isShow: true, method: .POST, url: URL_Login_Register, parameter: params) { (result, isSuccess, msg) in
            
            if isSuccess {
                
            }
            
        }
    }
    

}
